package pooller;

import com.gwtplatform.dispatch.rpc.client.gin.RpcDispatchAsyncModule;
import com.gwtplatform.mvp.client.gin.AbstractPresenterModule;
import com.gwtplatform.mvp.client.gin.DefaultModule;
import pooller.client.ZibenPresModule;

//@GwtpApp
public class MakerModule extends AbstractPresenterModule {

    @Override
    protected void configure() {
        install(new DefaultModule.Builder()
                .defaultPlace("home")
                .errorPlace("home")
                .unauthorizedPlace("home")
                .build());
        install(new RpcDispatchAsyncModule());
        install(new ZibenPresModule());

//        bind(ResourceLoader.class).asEagerSingleton();
    }
}
